package com.crm.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description  
 * @Author  XXX 
 * @Date 2023-03-10 
 */

@Data
@TableName ("crm_employee" )
public class CrmEmployee  implements Serializable {
	private static final long serialVersionUID =  3285075302136320875L;

	/**
	 * 员工ID
	 */
   	@TableField("employee_id" )
	private Integer employeeId;

	/**
	 * 员工账户
	 */
   	@TableField("employee_account" )
	private String employeeAccount;

	/**
	 * 员工密码
	 */
   	@TableField("employee_password" )
	private String employeePassword;

	/**
	 * 账号状态
	 */
   	@TableField("account_status" )
	private Integer accountStatus;

	/**
	 * 员工姓名
	 */
   	@TableField("employee_name" )
	private String employeeName;

	/**
	 * 手机号码
	 */
   	@TableField("employee_phone" )
	private String employeePhone;

	/**
	 * 部门外键
	 */
   	@TableField("department_id" )
	private Integer departmentId;

	/**
	 * 职位外键即角色
	 */
   	@TableField("role_id" )
	private Integer roleId;

	/**
	 * 员工邮箱
	 */
   	@TableField("employee_email" )
	private String employeeEmail;

	/**
	 * 员工性别
	 */
   	@TableField("employee_ismale" )
	private String employeeIsmale;

	/**
	 * 员工生日
	 */
   	@TableField("employee_birthday" )
	private Date employeeBirthday;

	/**
	 * 员工头像
	 */
   	@TableField("employee_photo" )
	private String employeePhoto;

	/**
	 * 员工提成
	 */
   	@TableField("employee_commission" )
	private BigDecimal employeeCommission;

	/**
	 * 员工数量限制
	 */
   	@TableField("employee_amount" )
	private Integer employeeAmount;

	/**
	 * 员工身份证号
	 */
   	@TableField("employee_id_number" )
	private String employeeIdNumber;

	/**
	 * 入职时间
	 */
   	@TableField("employee_hiredate" )
	private Date employeeHiredate;

	/**
	 * 家乡
	 */
   	@TableField("employee_hometown" )
	private String employeeHometown;

	/**
	 * 家庭住址
	 */
   	@TableField("employee_adress" )
	private String employeeAdress;

	/**
	 * 紧急联系人
	 */
   	@TableField("emergency" )
	private String emergency;

	/**
	 * 紧急联系人电话
	 */
   	@TableField("emergency_phone" )
	private String emergencyPhone;

	/**
	 * 个人介绍
	 */
   	@TableField("employee_introduction" )
	private String employeeIntroduction;

	/**
	 * 个性签名
	 */
   	@TableField("employee_signature" )
	private String employeeSignature;

	/**
	 * 离职状态1位在职0位离职
	 */
   	@TableField("departure_status" )
	private Integer departureStatus;

	/**
	 * 离职时间
	 */
   	@TableField("departure_time" )
	private Date departureTime;

	/**
	 * 离职原因
	 */
   	@TableField("departure_reason" )
	private String departureReason;

	/**
	 * 删除0为删除1为在职
	 */
   	@TableField("isdelete" )
	private Integer isdelete;

   	@TableField("salt" )
	private String salt;

}
